Skip to content

feat: add unauthenticated /healthz endpoint for health checks#131

Merged
hrntknr merged 1 commit intomainfrom
healthz
Apr 3, 2026
Merged

feat: add unauthenticated /healthz endpoint for health checks#131
hrntknr merged 1 commit intomainfrom
healthz

Conversation

@hrntknr
Copy link
Copy Markdown
Member

@hrntknr hrntknr commented Apr 3, 2026

Summary

Add a dedicated /healthz endpoint that returns 200 OK without requiring authentication or generating log entries. This enables proper Kubernetes liveness/readiness probes and load balancer health checks.

The endpoint is registered before logging and auth middleware, so requests to /healthz bypass both authentication and request logging.

Type of Change

  • feat: A new feature

Related Issues

Closes #109

@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 3, 2026

Codecov Report

❌ Patch coverage is 0% with 3 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
pkg/mcp-proxy/main.go 0.00% 3 Missing ⚠️

📢 Thoughts on this report? Let us know!

@hrntknr hrntknr merged commit 9803d0f into main Apr 3, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: Add unauthenticated healthcheck endpoint for Kubernetes deployments

1 participant